﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Abp.AutoMapper;
using FwProject.Commodity.Dto;
using Microsoft.AspNetCore.Http;

namespace FwProject.Web.ShopCore.Models
{
    [AutoMapTo(typeof(CommodityReviewsInput))]
    public class CreviewsModel
    {
        /// <summary>
        /// 商品编号
        /// </summary>
        public Guid Productid { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        [Required]
        [Display(Name = "评论内容")]
        public string RevicwsContent { get; set; }

        /// <summary>
        /// 描述相符评分0-5
        /// </summary>
        [Display(Name = "评分")]
        public int CommentScore { get; set; }

        /// <summary>
        /// 服务评分0-5
        /// </summary>
        [Required]
        public int ServiceCommentScore { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        [Required]
        public Guid OrderId { get; set; }

     



    }
}
